import Home from '../pages/home'
import Cart from '../pages/cart'
import Layout from '../layout'

export const routes= [
    {
        from:"/",
        to:"/layout"
    },
    {
        path:"/layout",
        component: Layout,
        children: [
            {
                from:"/layout",
                to:"/layout/home"
            },
            {
                path:"/layout/home",
                component:Home,
                children:[]
            },{
                path:"/layout/cart",
                component:Cart,
                children:[]
            }
        ]
    }
]